﻿using AutoMapper;
using ModelDtos.User;
using Models.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace BusinessInterface.Map
{
    /// <summary>
    /// Dto映射配置
    /// </summary>
    public class AutoMapperConfigs : Profile
    {
        /// <summary>
        /// 配置映射
        /// </summary>
        public AutoMapperConfigs()
        {


            CreateMap<Sys_User, SysUserDTO>().ReverseMap();

            CreateMap<Sys_User, SysUserInfo>();

        }
    }
}
